﻿namespace Juego_Lp.Characters
{
    public class Monster : Character
    {
        /*------------------------------------------|ATRIBUTES|-----------------------------------------*/
        private int speed;  //más adelante se empleará
        private int injuryDeath;    //más adelante se empleará
        private int damage;
        private int moneyProvided;

        /*--------------------------------------|SETTERS & GETTERS|-------------------------------------*/

        public int getSpeed()
        {
            return speed;
        }

        public void setSpeed(int speed)
        {
            this.speed = speed;
        }

        public int getInjuryDeath()
        {
            return injuryDeath;
        }

        public void setInjuryDeath(int injuryDeath)
        {
            this.injuryDeath = injuryDeath;
        }

        public int getDamage()
        {
            return damage;
        }

        public void setDamage(int damage)
        {
            this.damage = damage;
        }

        public int getMoneyProvided()
        {
            return moneyProvided;
        }

        public void setMoneyProvided(int moneyProvided)
        {
            this.moneyProvided = moneyProvided;
        }

        /*-------------------------------------------|OTHERS|-------------------------------------------*/
        void move()
        {
            //Coordenadas Abajo y Derecha POSITIVO; Arriba e Izquierda NEGATIVO.
            int x;
            //Avance del monstruo:
            x = this.getX() - 1;
            this.setX(x);
        }

        /*------------------------------------------|BUILDERS|-------------------------------------------*/
        public Monster()
        {
            setLife(70);
            setName("Droggs");
            setAccuracy(80);
            damage = 10;
            moneyProvided = 0;
        }

        /*-----------------------------------------|DESTROYER|-------------------------------------------*/
        ~Monster()
        {
            setLife(0);
            moneyProvided = 50;
        }
    }
}